import { defineStore } from 'pinia'

interface ScreenState {
  title: string
  theme: 'dark' | 'light'
}

export const useScreenStore = defineStore({
  id: 'screen',
  state: (): ScreenState => {
    return {
      title: '顺义区防汛信息一体化平台',
      theme: 'dark',
    }
  },
})
